﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECCSystem.BizRule
{ 
    class ClsDefect
    {
		DataAccess.ClsDefect objDAMC = new ECCSystem.DataAccess.ClsDefect();
		public ClsDefect()
        { }
        //Get all MailCategory records list

		public void AddDefect(DateTime dtTime, int intUserID, int intNumber)
        {
			objDAMC.AddDefect(dtTime, intUserID, intNumber);

        }

		public object GetList(DateTime dtTime, int intUserID, int intFlg, int intNumber)
		{
			return objDAMC.GetDefect(dtTime, intUserID, intFlg, intNumber);
		}

		public void DeleteDefect(string strID)
		{
			objDAMC.DeleteDefect(strID);
		}

		public void UpdateDefect(string strID, DateTime dtTime, int intUserID, int intNumber)
		{
			objDAMC.UpdateDefect(strID, dtTime, intUserID, intNumber);
		}
    }
}
